import request from '@/utils/request'

export function feachRoleList(data) {
  return request({
    url: '/admin/role-list',
    method: 'post',
    data: data,
  })
}

export function editRole(data) {
  return request({
    url: '/admin/role-edit',
    method: 'post',
    data: data,
  })
}
